<template>
  <div class="son">
    儿子
    <div> {{ countStore.sum }} </div>
  </div>
</template>

<script setup lang="ts">
  import {useCountStore} from "@/store/count";

  const countStore = useCountStore();
</script>

<style scoped>
.son {
  background-color: lightskyblue;
  margin: auto;
  width: 80%;
  height: 90%;
}
</style>

<script lang="ts">
export default {
  name: "son.vue"
}
</script>